Page({
  data: {
    indicatorDots: false,
    autoplay: false,
    interval: 5000,
    duration: 500,
    circular: true,
    total: 5,
    currentIndex: 1,
    circular:true,
    content: [
      {
        day: '06',
        week: '星期三',
        month: '十二',
        imgUrls: '../../images/miao_1.jpg',
        title: '不会玩雪人的喵不是好的主子。',
        name: '鲁迅'
      },
      {
        day: '07',
        week: '星期四',
        month: '十二',
        imgUrls: '../../images/miao_2.jpg',
        title: '你爱我吗，铲屎的。',
        name: '鲁迅'
      },
      {
        day: '08',
        week: '星期五',
        month: '十二',
        imgUrls: '../../images/miao_3.jpg',
        title: '好看吗？好看也不给你，我要送给我女朋友。',
        name: '鲁迅'
      },
      {
        day: '09',
        week: '星期六',
        month: '十二',
        imgUrls: '../../images/miao_4.jpg',
        title: '美丽，是多么寂寞。',
        name: '鲁迅'
      },
      {
        day: '10',
        week: '星期日',
        month: '十二',
        imgUrls: '../../images/miao_5.jpg',
        title: '你瞅啥！',
        name: '鲁迅'
      }
    ]
  },
  swiperChange(e) {
    this.setData({
      currentIndex: e.detail.current + 1
    })
  },
  onPullDownRefresh: function() {
    wx.stopPullDownRefresh()
  }
})